package com.hotel.util;

/**
 * @author Eumenides.
 * @create 2021-05-17 14:14
 */
public class Main {
    public static void main(String[] args) {
        String s = "/JavaWebTraining_war_exploded/jsp/orderjianguoHotel.jsp";
        String[] ss = s.split("/");
        System.out.println(s.split("/")[3].replace("order","").replace("Hotel.jsp", ""));
        for(String s1 : ss) {
            System.out.println(s1);
        }
    }
}
